import {Spin} from 'antd';

const styles:any = {
  position:'absolute',
  top:0,left:0,bottom:0,right:0,
  margin:'auto',
  background:'rgba(255,255,255,0.5)',
  display:'flex',
  alignItems: 'center',
  justifyContent: 'center',
}

function Loading(){
  return (
    <div className="loading" style={styles}>
      <Spin />
    </div>
  )
}
export default Loading;